/**
*  \file calibration.h
*
*  \brief
*
*  \author   paragen.py
*  \author   Michael J. Hohmann <michael.hohmann@linde-mh.de>
*  \author   Joerg.Treisch      <joerg.treisch@linde-mh.de>
*
*/

#ifndef CALIBRATION_H_INCLUDED
#define CALIBRATION_H_INCLUDED

/*================================================[ public includes  ]================================================*/
#include "../cfg/prj.h"
#include "../paragen/paragen.h"
/*================================================[ public defines   ]================================================*/
#define CALIBRATION_FINGERPRINT_0x6CCDF2225A12122ED586C45CE95506E4

/*================================================[ public datatypes ]================================================*/

/* entries: 128   */ 
struct calibration_parameter
{
    S8 key_switch_cal;
    U16 accelerator_1_min;
    U16 accelerator_1_max;
    U16 accelerator_2_min;
    U16 accelerator_2_max;
    U16 lift_potentiometer_min;
    U16 lift_potentiometer_max;
    U16 steer_left;
    U16 steer_right;
    U16 steer_neutral;
    S16 bdi_vbatt_cal_min;
    S16 bdi_vbatt_cal_max;
    U8 bdi_soc_delta_startup;
    U32 reserve0;
    U32 reserve1;
    U32 reserve2;
    U32 reserve3;
    U32 reserve4;
    U32 reserve5;
    U32 reserve6;
    U32 reserve7;
    U32 reserve8;
    U32 reserve9;
    U32 reserve10;
    U32 reserve11;
    U32 reserve12;
    U32 reserve13;
    U32 reserve14;
    U32 reserve15;
    U32 reserve16;
    U32 reserve17;
    U32 reserve18;
    U32 reserve19;
    U32 reserve20;
    U32 reserve21;
    U32 reserve22;
    U32 reserve23;
    U32 reserve24;
    U32 reserve25;
    U32 reserve26;
    U32 reserve27;
    U32 reserve28;
    U32 reserve29;
    U32 reserve30;
    U32 reserve31;
    U32 reserve32;
    U32 reserve33;
    U32 reserve34;
    U32 reserve35;
    U32 reserve36;
    U32 reserve37;
    U32 reserve38;
    U32 reserve39;
    U32 reserve40;
    U32 reserve41;
    U32 reserve42;
    U32 reserve43;
    U32 reserve44;
    U32 reserve45;
    U32 reserve46;
    U32 reserve47;
    U32 reserve48;
    U32 reserve49;
    U32 reserve50;
    U32 reserve51;
    U32 reserve52;
    U32 reserve53;
    U32 reserve54;
    U32 reserve55;
    U32 reserve56;
    U32 reserve57;
    U32 reserve58;
    U32 reserve59;
    U32 reserve60;
    U32 reserve61;
    U32 reserve62;
    U32 reserve63;
    U32 reserve64;
    U32 reserve65;
    U32 reserve66;
    U32 reserve67;
    U32 reserve68;
    U32 reserve69;
    U32 reserve70;
    U32 reserve71;
    U32 reserve72;
    U32 reserve73;
    U32 reserve74;
    U32 reserve75;
    U32 reserve76;
    U32 reserve77;
    U32 reserve78;
    U32 reserve79;
    U32 reserve80;
    U32 reserve81;
    U32 reserve82;
    U32 reserve83;
    U32 reserve84;
    U32 reserve85;
    U32 reserve86;
    U32 reserve87;
    U32 reserve88;
    U32 reserve89;
    U32 reserve90;
    U32 reserve91;
    U32 reserve92;
    U32 reserve93;
    U32 reserve94;
    U32 reserve95;
    U32 reserve96;
    U32 reserve97;
    U32 reserve98;
    U32 reserve99;
    U32 reserve100;
    U32 reserve101;
    U32 reserve102;
    U32 reserve103;
    U32 reserve104;
    U32 reserve105;
    U32 reserve106;
    U32 reserve107;
    U32 reserve108;
    U32 reserve109;
    U32 reserve110;
    U32 reserve111;
    U32 reserve112;
    U32 reserve113;
    U32 reserve114;
}; 

/* entries: 7   */ 
struct calibration_parameter_nv
{
   struct paragen_validation_header validation;
   struct calibration_parameter parameter;
}; 


/*================================================[ public variables ]================================================*/

extern const struct paragen_object calibration_obj;
extern struct calibration_parameter const * const calibration;

/*================================================[ public functions ]================================================*/

/*====================================================================================================================*/

#endif

/***********************************************************************************************************************
*                             Copyright 2020 Linde Material Handling. All rights reserved.                             *
***********************************************************************************************************************/
